<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue-v2.6.14.js"></script>
</head>
<body>
<div id="app">
    <!--v-model 双向绑定-->
    <input type="text" name="value1" v-model="value">
    <input type="text" name="value2" v-model="value">
    {{value}}


    <!--修改操作-->
    <form action="update" method="post">
        <input type="text" v-model="stu.id">
        <input type="text" v-model="stu.name">
        <input type="text" v-model="stu.age">
    </form>
</div>

</body>
<script type="text/javascript">
    new Vue({
        el: "#app",
        data: {
            value: "HelloWorld",
            stu:{
                id:1,
                name:"刘松",
                age: 18
            }
        },
        methods:{

        }
    });
</script>
</html>